/**
 * @Copyright: 2010 杭州海康威视系统技术有限公司
 * @address: http://www.hikvision.com
 * @ProjectName: CMS基线平台
 * @Description: 公司内部的基础平台
 */
package com.hlkj.baojin.entity.vo;

import lombok.Getter;
import lombok.Setter;

import java.util.Objects;

@Getter
@Setter
public class Organization {
	private String	id;
	private String	classname;
	private String	orgName;
	private String	parentId;
	private String	orgCode;
	private String	orgInternalCode;
	private String	orgDesc;
	private String	path;
	private String	areaCode;
	private Long	order;
	private String  isParent= "true";
	private String  open= "true";
	private String	indexCode;

	@Override
	public boolean equals(Object o) {
		if (this == o) return true;
		if (o == null || getClass() != o.getClass()) return false;
		Organization that = (Organization) o;
		return Objects.equals(id, that.id);
	}

	@Override
	public int hashCode() {
		return Objects.hash(id);
	}
}
